<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>注册</title>
</head>
<body>
<form action="" method="post">
    {% csrf_token %}
    用户名: <input type="text" name="username">
    <br>
    送餐地址: <textarea name="home_address" id="home_address" cols="30" rows="10"></textarea>
    <br>
    手机号码: <input type="text" name="phone">
    <br>
    密码: <input type="password" name="password">
    <br>

    身份选择: <select name="jobs" id="jobs">
    <option value="1">学生</option>
    <option value="2">外卖小哥</option>
</select>

    <br>
    <input type="submit" value="注册">
</form>

</body>
</html>